home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
remote
/
rack_002.zip
/
RACK_002.DOC
< prev
Wrap
Text File
|
1992-08-27
|
6KB
|
169 lines
Remote Access Cdrom Kit, Version 0.02 Documentation
Like all lazy programmers, I get tired of redundant entries someone else
has made. The programs inside this file handle 2 major problems that are
now history.
1> True CD-ROM support. ImpArea will import a files.ra file, and optionally
remap the drive letters so you don't have to go through and clean up.
It also allows you to setup securities and other options for imported areas.
This assumes that there is a Files.RA on the CD to play with, and
files.### as well. After importing the areas into your system's
Files.ra, simply copy the files.### into your CDRom files.bbs
directory, and you're done.
2> MoveArea. Does just that. Type either program name for help.
Movearea was originally released about 6 months ago into the sds, and now
added is CDRom support smarter moving and non-violent access of files.
Refer to movearea.ctl for configuration.
The following is the example IMPSDN.BAT file that comes with this release:
@Echo off
REM Example batch file for importing of the files in the SDNPlus CDRom
REM into your current existing Remote Access Files.RA
REM don't forget to copy your original Files.RA to some other name.
If Not Exist d:\RA\MyFiles.RA Goto Oops
:Note1
d:
cd d:\ra\cdrom
del Files.*
Xcopy j:\00index\Files.*
Attrib -r *.*
Del Files.79
cd..
:Note2
ImpArea d:\ra\cdrom\files.ra 1 78 J /UL65535 /DL100 /LS10 /N- /L- /D+
MoveArea 1 78 73
ImpArea d:\ra\MyFiles.RA 1 71
ImpArea d:\ra\MyFiles.RA 190 10
Goto End
:Oops
Echo Please Read the batch file before blindly running it!
Echo Aborting...
:End
Explaination of batch file:
Note1: All of the files.### and Files.RA files are copied into a
directory where your files.### files are stored. In my case, this path
is d:\ra\cdrom
Note2: ImpArea imports the files.RA areas 1 thru 79 (78 areas
starting with file area 1, and Replaces the first letter of the
filepath designator with J. Also, Upload Security is set to 65535,
Download to 100, and list to 10, new file search is disabled, Long
discriptions are disabled, and Dupe checking enabled.
Note3: MoveArea moves file areas 1-78 to 73-150, and renames the
files.### accordingly. (Make sure to edit MoveArea.CTL so that it
knows where your CDRom Files.### files are.)
Note4: ImpArea imports the first 71 areas of your previously setup
files.RA file, which has hopefully been renamed to MyFiles.RA
For this to work properly, there must be a files.RA file on the CDRom
or in the path defined, And files.### files as well, or copies from a
friend in some directory.
ImpArea.EXE
ImpArea Command line parameters:
ImpArea File1 Start Count CDRom_Letter /Flags
File1 is the fully qualified path to the CD or other files.ra file.
Start is the starting file area you would like to import from
this file.
Count is the number of file areas to import.
CDRom_Letter is optional, but if used, remaps all imported areas
to the letter specified. In the example batch file, All areas
imported will be remapped to drive J
Flags are defined as follows and are entirely optional:
/D[+/-] Turns dupe checking on or off accordingly for new areas
imported.
/N[+/-] Turns New Files on or off accordingly for new areas
imported.
/L[+/-] Turns Long discriptions on or off accordingly for new areas
imported.
/UL#####
/LS#####
/DL#####
Set Upload, List and Download security levels for all areas imported.
The lack of presence of any flags will import areas as they were set
in the files.RA to be imported.
MoveArea.EXE
Original code by Bo Bendtsen 2:231/111@Fidonet
New Features by Joe Jared 1:125/1212@Fidonet
MoveArea command line parameters:
MoveArea Start End To
Start is the starting area number you want to move.
End is the last area you want to move.
To is the destination of these areas.
Areas can be moved even if they overlap, as it will either
move areas in reverse or forward order as needed.
CDRom Support: When CDRom is defined in MoveArea.CTL, the
files.### in this path are renamed accordingly as the areas are
moved.
-- New since 0.01
ImpArea.EXE
Added Import Securities and options for Upload/Download/list security,
Newfiles,Long Discription, and Dupes option.
ImpArea now updates the files.RA in the current directory if it exists, or
the one in the system directory if it doesn't.
Note: For those of you with an interest in more than 200 file areas,
this program could very well suit your needs until Remote Access is
updated to handle them. Drives.MNU shows one example of how considerably
more than 200 file areas could be made available for your callers, by
allowing them to select file areas more to their liking. In the example
menu, 4 such groups are setup, each given the name specified in the menu
option, and upon return from the door call, these new file areas would
become active. Multinode users would be totally unaffected by these
changes, simply because there would be a unique files.ra for each node.
With even further creativity, multiple CD rom drives could be included
as well.
Example:
Environment variables used:
TCNode = do determine which node is changing areas
Menu Type 7
Menu Data
*C /C IMP Group1 J:\00index
IMPareas.BAT
del d:\ra\CDROM%TCNODE%\Files.*
If Not '%2' == '' Xcopy %\Files.* D:\RA\CDROM%TCNODE%
Attrib -r *.*
ImpArea d:\ra\%1.ra 1 199
In this example, each node has it's own set of CDRom files.### files,
and after importing areas a second parameter is checked for. If this
second parameter is nul, no files are copied, but if not, the new
files.### files are copied over, and the user now has access to other
file areas.